/**
 * @file /src/main.cpp
 * @author Tomonori Yamamoto <tomonori.yamamoto@syntouchllc.com>
 *         (originally written by Daniel Stonier)
 * @date December 02, 2011
 * @brief main function to start the BioTac Qt GUI.
 **/
/*****************************************************************************
** Includes
*****************************************************************************/

#include <QtGui>
#include <QApplication>
#include "st_biotac_gui/biotacgui.hpp"

/*****************************************************************************
** Main
*****************************************************************************/
int main(int argc, char **argv) {

    /*********************
    ** Qt
    **********************/
    QApplication app(argc, argv);
    syntouch_biotac_gui::BioTacGui w(argc,argv);
    w.show();
    app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
    int result = app.exec();
    return result;
}
